<!DOCTYPE html>
<html lang="zh-CN"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>新零售微店后台首页</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link th:href="@{/layui/css/layui.css}"  rel="stylesheet">
    <link th:href="@{/style/admin.css}"  rel="stylesheet">
</head>
<body>

<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-form layui-card-header layuiadmin-card-header-auto">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">用户编号</label>
                    <div class="layui-input-block">
                        <input type="text" name="loginname" placeholder="请输入" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">地址列表</label>
                    <div class="layui-input-block">
                        <select name="address">
                            <option value="0">用户ID</option>
                            <option value="1">省</option>
                            <option value="2">市</option>
                            <option value="3">区</option>
                            <option value="4">详细地址</option>
                            <option value="5">姓名</option>
                            <option value="6">手机号</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layuiadmin-btn-admin" lay-submit lay-filter="LAY-user-back-search">
                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                    </button>
                </div>
            </div>
        </div>

        <div class="layui-card-body">
            <div style="padding-bottom: 10px;">
                <button class="layui-btn layuiadmin-btn-admin" data-type="batchdel">删除</button>
                <!--<button class="layui-btn layuiadmin-btn-admin" data-type="add" onclick="WinOpenAdd();">添加</button>-->
            </div>

            <table class="layui-hide" id="address"></table>

            <script type="text/html" id="barDemo">
                <!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail" onclick="WinOpenEdit({{d.rankid}});">查看</a>-->
                <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
            </script>

        </div>
    </div>
</div>

<script th:src="@{/layui/layui.js}"></script>
<script th:src="@{/js/address.js}"></script>
<script>


    // function WinOpenAdd() {
    //     layer.open({
    //         type: 2
    //         , title: '添加会员等级'
    //         , content: 'adminform.html'
    //         , area: ['420px', '420px']
    //         , btn: ['确定', '取消']
    //         , yes: function (index, layero) {
    //             debugger;
    //             var body = layer.getChildFrame('body', index); //得到iframe页的body内容
    //             var loginname = body.find("#loginname").val();
    //             alert(loginname);
    //
    //             //table.reload('LAY-user-front-submit'); //数据刷新
    //             layer.close(index); //关闭弹层
    //         }
    //     });
    // }


</script>
</body>
</html>

